home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Development Foundation 1.1 for IRIX 6.2
/
SGI IRIX 6.2 Development Foundation 1.1.iso
/
dist
/
patchSG0001645.idb
/
usr
/
include
/
sched.h.z
/
sched.h
Wrap
C/C++ Source or Header
|
1997-07-01
|
1KB
|
47 lines
/**************************************************************************
* *
* Copyright (C) 1996 Silicon Graphics, Inc. *
* *
* These coded instructions, statements, and computer programs contain *
* unpublished proprietary information of Silicon Graphics, Inc., and *
* are protected by Federal copyright law. They may not be disclosed *
* to third parties or copied or duplicated in any form, in whole or *
* in part, without the prior written consent of Silicon Graphics, Inc. *
* *
**************************************************************************/
/*
* POSIX Scheduling Header File.
*/
#ifndef _SCHED_H_
#define _SCHED_H_
#ifdef __cplusplus
extern "C" {
#endif
#include <time.h>
#include <sys/sched.h>
/*
* Interface Prototypes
*/
int sched_setparam(pid_t, const struct sched_param *);
int sched_getparam(pid_t, struct sched_param *);
int sched_setscheduler(pid_t, int, const struct sched_param *);
int sched_getscheduler(pid_t);
int sched_yield(void);
int sched_get_priority_max(int);
int sched_get_priority_min(int);
int sched_rr_get_interval(pid_t, struct timespec *);
#ifdef __cplusplus
}
#endif
#endif /* _SCHED_H_ */